Optimal. Leaf size=31 \[ -\frac{5 \tan ^{-1}\left (\frac{\cos (c+d x)}{\sin (c+d x)+3}\right )}{6 d}-\frac{x}{12} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.029382, antiderivative size = 31, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {3783, 2657} \[ -\frac{5 \tan ^{-1}\left (\frac{\cos (c+d x)}{\sin (c+d x)+3}\right )}{6 d}-\frac{x}{12} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3783
Rule 2657
Rubi steps
\begin{align*} \int \frac{1}{3+5 \csc (c+d x)} \, dx &=\frac{x}{3}-\frac{1}{3} \int \frac{1}{1+\frac{3}{5} \sin (c+d x)} \, dx\\ &=-\frac{x}{12}-\frac{5 \tan ^{-1}\left (\frac{\cos (c+d x)}{3+\sin (c+d x)}\right )}{6 d}\\ \end{align*}
Mathematica [B] time = 0.0484721, size = 66, normalized size = 2.13 \[ \frac{2 (c+d x)-5 \tan ^{-1}\left (\frac{2 \left (\sin \left (\frac{1}{2} (c+d x)\right )+\cos \left (\frac{1}{2} (c+d x)\right )\right )}{\cos \left (\frac{1}{2} (c+d x)\right )-\sin \left (\frac{1}{2} (c+d x)\right )}\right )}{6 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.039, size = 36, normalized size = 1.2 \begin{align*}{\frac{2}{3\,d}\arctan \left ( \tan \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) \right ) }-{\frac{5}{6\,d}\arctan \left ({\frac{5}{4}\tan \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) }+{\frac{3}{4}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.47446, size = 66, normalized size = 2.13 \begin{align*} -\frac{5 \, \arctan \left (\frac{5 \, \sin \left (d x + c\right )}{4 \,{\left (\cos \left (d x + c\right ) + 1\right )}} + \frac{3}{4}\right ) - 4 \, \arctan \left (\frac{\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1}\right )}{6 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.492249, size = 89, normalized size = 2.87 \begin{align*} \frac{4 \, d x - 5 \, \arctan \left (\frac{5 \, \sin \left (d x + c\right ) + 3}{4 \, \cos \left (d x + c\right )}\right )}{12 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{5 \csc{\left (c + d x \right )} + 3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.44328, size = 66, normalized size = 2.13 \begin{align*} -\frac{d x + c + 10 \, \arctan \left (-\frac{3 \, \cos \left (d x + c\right ) + \sin \left (d x + c\right ) + 3}{\cos \left (d x + c\right ) - 3 \, \sin \left (d x + c\right ) - 9}\right )}{12 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]